package com.itlong.cloud.POJO.PO;

import com.itlong.cloud.annotation.ItlField;
import com.itlong.cloud.annotation.ItlTables;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * <desc>
 *      开发者授权信息表
 * </desc>
 *
 * @createDate 2018/12/18
 */
@ItlTables("developer_account_auth")
@Data
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class DeveloperAccountAuthPO extends BasePO implements Serializable {

    @ItlField(value = "auth_id",logicKey = "key")
    private String authId;              // 逻辑ID
    @ItlField("user_id")
    private String userId;              // 开发者账号id
    @ItlField("data_type")
    private Integer dataType;           // 数据类型，1绑定IP，2绑定MAC
    @ItlField("binding_ip")
    private String bindingIp;           // 绑定IP
    @ItlField("binding_mac")
    private String bindingMac;           // 绑定MAC
    @ItlField("project_id")
    private String projectId;           // 项目编号
    @ItlField("robot_id")
    private String robotId;           // 机器人编号

}
